(define-module (python-pyjokes)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages check)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system python))

(define-public python-pyjokes
  (package
    (name "python-pyjokes")
    (version "0.6.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyjokes" version))
        (sha256
          (base32
            "19c1x5b9qbg56c0szzg1xhirihr1iw4dpj23h9hs9gwcnznhx1h8"))))
    (build-system python-build-system)
    (native-inputs
      `(("python-coverage" ,python-coverage)
        ("python-pytest" ,python-pytest)
        ("python-tox" ,python-tox)))
    (home-page "https://pyjok.es/")
    (synopsis
      "One line jokes for programmers (jokes as a service)")
    (description
      "One line jokes for programmers (jokes as a service)")
    (license license:bsd-3)))

python-pyjokes
